package com.aaa.three.mapper;


import com.aaa.three.pojo.query.AdminInfoDept;
import com.aaa.three.pojo.query.DeptDocState;
import com.aaa.three.pojo.query.DeptState;

import java.util.List;

public interface AdminQueryDeptMapper {

    List<AdminInfoDept> queryAllDept();

    AdminInfoDept getDept(int id);

    int deleteDept(int id);

    int addDept(AdminInfoDept adminInfoDept);

    List<DeptState> queryDeptState();

    List<DeptDocState> queryDocState();

    int updateDept(AdminInfoDept adminInfoDept);

    int countName(String name);

}
